import { DrawerProps as AntdDrawerProps, Drawer } from 'antd';

interface DrawerProps extends AntdDrawerProps {
  children: React.ReactNode;
  className?: string;
}
export const AntdDrawer = ({ children, className, ...props }: DrawerProps) => {
  return (
    <div>
      <Drawer className={`eai-design-drawer ${className}`} {...props}>
        {children}
      </Drawer>
    </div>
  );
};
